/**
 * @file   map_list.h
 * @brief  
 * @encode UTF-8
 * @log    date        author      notes
 *         2021.09.22  Jimmy       first version
 */
#ifndef __MAP_LIST_H_ 
#define __MAP_LIST_H_ 

#include <iostream>
#include <vector>

#include "maps.h"

class MapList
{
    private:
        std::vector<uint8_t>  mList;
        uint16_t mWidth;
        uint16_t mHeight;
    
    public:
        MapList();
        ~MapList();
        void init(uint16_t width, uint16_t height);
        void push(Point point, uint8_t val, uint8_t dxdy);
        uint8_t pop(Point point);
        uint8_t getIndex(Point point);
        uint8_t getDxDy(Point point);
    
};


#endif	/* __MAP_LIST_H_ */
/* End of file */
